package com.hzhk.happyrent.bean.rent;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * User: hzhk(1097282555@qq.com)
 * Date: 2017/11/23
 * Time: 11:46
 * progject: HappyRent
 * Describe： ${Describe}
 */
public class TypesModel extends BaseBean{


    /**
     * errCode : 0
     * message : success
     * data : {"goods_types":[{"id":"96","sort_tit":"手机","sort_cover_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171127/151177116436735.png"},{"id":"97","sort_tit":"iPad","sort_cover_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171127/151177115389854.png"},{"id":"98","sort_tit":"电脑","sort_cover_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171127/151177113683020.png"},{"id":"99","sort_tit":"iWatch","sort_cover_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171127/151177112260256.png"}]}
     * time : 1514356638
     */

    @SerializedName("errCode")
    private int errCode;
    @SerializedName("message")
    private String message;
    @SerializedName("data")
    private DataBean data;
    @SerializedName("time")
    private int time;

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        @SerializedName("goods_types")
        private List<GoodsTypesBean> goodsTypes;

        public List<GoodsTypesBean> getGoodsTypes() {
            return goodsTypes;
        }

        public void setGoodsTypes(List<GoodsTypesBean> goodsTypes) {
            this.goodsTypes = goodsTypes;
        }

        public static class GoodsTypesBean {
            /**
             * id : 96
             * sort_tit : 手机
             * sort_cover_image : http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171127/151177116436735.png
             */

            @SerializedName("id")
            private String id;
            @SerializedName("sort_tit")
            private String sortTit;
            @SerializedName("sort_cover_image")
            private String sortCoverImage;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getSortTit() {
                return sortTit;
            }

            public void setSortTit(String sortTit) {
                this.sortTit = sortTit;
            }

            public String getSortCoverImage() {
                return sortCoverImage;
            }

            public void setSortCoverImage(String sortCoverImage) {
                this.sortCoverImage = sortCoverImage;
            }
        }
    }
}
